const albums = [
  { title: "Taylor Swift", image: "https://i.imgur.com/w0bksSN.jpg" },
  { title: "Fearless", image: "https://i.imgur.com/TPL7mge.jpg" },
  { title: "Speak Now", image: "https://i.imgur.com/TNKbt8Y.jpg" },
  { title: "Red", image: "https://i.imgur.com/as6dlgi.jpg" },
  { title: "1989", image: "https://i.imgur.com/i1QDoZR.jpg" },
  { title: "reputation", image: "https://i.imgur.com/o2v3b7E.jpg" },
  { title: "Lover", image: "https://i.imgur.com/cNnUR0M.jpg" },
  { title: "folklore", image: "https://i.imgur.com/oZvDEky.jpg" },
];

exports.run = function (message, args, bot, db) {
  let answer = albums[Math.floor(Math.random() * albums.length)];
  message.channel.send("", {
    embed: {
      title: "Random Album",
      description: "You should listen to " + answer.title + ".",
      thumbnail: {
        url: answer.image,
      },
    },
  });
};
